<?php

require_once "core/application/models/mstigma/mstigma3.php";

class Mstigma4 extends Mstigma3 {

    protected function numRows() {
        /**
         * есть ли чары на аккаунте
         */
        DB::getInstance()->openConnectionToGS();
        if (mysql_num_rows($this->selectChars())) {
            return true;
            DB::getInstance()->closeConnection();
        } else {
            return false;
            DB::getInstance()->closeConnection();
        }
    }

}

?>
